package com.moose.operator.model.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * <p>
 * Description:
 * </p>
 *
 * @author taohua
 * @version v1.0.0
 * @date 2020-12-13 21:41:21:41
 * @see com.moose.operator.model.entity
 */
@Data
@Document(collection = "poetry_ranking")
public class PoetryRanking extends BaseEntity {

  @Field("ranking_num")
  private Integer rankingNum;

  @Field("dynasty")
  private String dynasty;

  @Field("author")
  private String authorName;

  @Field("title")
  private String poetryTitle;

  @Field("content")
  private String poetryContent;

  @Field("poetry_id")
  private Integer poetryId;

  @Field("author_id")
  private Integer authorId;

  @Field("dynasty_id")
  private Integer dynastyId;
}
